#from distutils.core import setup
#from distutils.extension import Extension
#from Cython.Distutils import build_ext
#
#setup(
#    cmdclass = {'build_ext': build_ext},
#    ext_modules = [Extension("mpi4py_cython", ["mpi4py_cython.pyx"])]
#)

from distutils.core import setup
from Cython.Build import cythonize

setup(
    name = "My hello app",
    ext_modules = cythonize('mpi4py_cython.pyx'), # accepts a glob pattern
)